<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'update.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <style type="text/css">
  .div
  {
  width: 470px;
  height: 500px;
  margin:auto;
  margin-top:230px;
  background-color: rgba(94,94,94,0.8);
		border-radius:15px;
  }
  .aaa{
  display: none;
  }
  </style>
  
  
  
  <body background="pic/10112.jpg" >
  <font color="red">${param.msg }</font>
  <div align="center" class="div">
    <form name="f1" action="/shiyizuoye/update" method="post">
    <h1>修改界面</h1>
    <table cellpadding="10">
    <%
	//设置编码字符集
	request.setCharacterEncoding("UTF-8");
	response.setCharacterEncoding("UTF-8");
	//设置页面内容格式
	response.setContentType("text/html;charset=utf-8");
	
	int id = Integer.parseInt(request.getParameter("id")); 
	String uname = request.getParameter("uname"); 
	String pwd = request.getParameter("pwd"); 
	int age = Integer.parseInt(request.getParameter("age"));%>
    <tr>
    
    <td><input type="text" name="id" id="in4" value="<%=id%>" class="aaa" style="color: #E5E42D" />
    <br><span id="p4"></span>
    </td>
    </tr>
    <tr>
    <td  style="font-size: 20px">用户名：
    </td>
    <td><input type="text" name="uname" id="in1" value="<%=uname%>" style="color: #E5E42D"/>
    <br><span id="p1"></span>
    </td>
    </tr>
     <tr>
    <td  style="font-size: 20px">密码：
    </td>
    <td><input type="text" name="pwd" id="in2" value="<%=pwd%>" style="color: #E5E42D"/>
    <br><span id="p2"></span>
    </td>
    </tr>
    <tr>
    <td  style="font-size: 20px">年龄：
    </td>
    <td><input type="text" name="age" id="in5" value="<%=age%>" style="color: #E5E42D"/>
    <br><span id="p5"></span>
    </td>
    </tr>
    </table><br>
  <input type="submit" name="b1" value="修改" style="font-size:22"/>
  <input type="reset" name="b2" value="重置" style="font-size:22"/>
  <a href="main"><input type="button" name="b3" value="返回主页" style="font-size:22"/></a>
    </form>
  </div>
  </body>
</html>
